@import './reset.css';

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.eli {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

&::-webkit-scrollbar {
    width: 8px;
    background: #041540;
}

&::-webkit-scrollbar-corner,
/* 滚动条角落 */
&::-webkit-scrollbar-thumb,
&::-webkit-scrollbar-track {
    border-radius: 4px;
}

&::-webkit-scrollbar-corner,
&::-webkit-scrollbar-track {
    /* 滚动条轨道 */
    background-color: rgba(180, 160, 120, 0.1);
    box-shadow: inset 0 0 1px rgba(180, 160, 120, 0.5);
}

&::-webkit-scrollbar-thumb {
    /* 滚动条手柄 */
    background-color: #013CD9;
}

.scroll-container {
    overflow: auto;


}

.badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    color: #fff;
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
    text-align: center;
    background: #f5222d;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 0 1px #fff;
    box-shadow: 0 0 0 1px #fff;
}

.position-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: rgba(146, 192, 255, 1);
    background-color: rgba(0, 70, 255, 0.1);
    background-image: none;
    border: 1px solid #0046FF;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 70, 255, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #0046FF;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 70, 255, 0.6);
}

.a-btn {
    line-height: 1.499;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    cursor: pointer;
    -webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
    transition: all .3s cubic-bezier(.645, .045, .355, 1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    height: 34px;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 4px;
    color: #fff;
    background-color: #0046FF;
    border-color: #0046FF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.a-btn:active {
    background: rgba(0, 70, 255, .6);
}


.checkbox {
    display: inline-block;
    vertical-align: baseline;

    input {
        display: none;
    }

    label {
        display: inline-block;
        padding-left: 26px;
        position: relative;

        cursor: pointer;

        &:after {
            display: block;
            content: "";
            width: 16px;
            height: 16px;
            background: rgba(0, 70, 255, 0.1);
            border-radius: 2px;
            border: 1px solid rgba(0, 70, 255, 1);
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            z-index: 10;
            transition: all .3s ease-in;
        }
    }

    input[type="checkbox"]:checked+label {
        &:before {
            display: block;
            content: "\2714";
            .position-center;
            left: 10px;
            z-index: 11;
            transition: all .3s ease-in;
        }

        &:after {
            background: #0046FF;
        }
    }


}


.form-box {
    background: rgba(3, 39, 144, .3);
    padding: 14px 6px;
    margin: 20px;

    .a-btn {
        min-width: 108px;
    }

    &>table {
        width: 100%;
        table-layout: fixed;

        color: #fff;
        font-size: 16px;

        th,
        td {
            padding: 5px;
        }

        th {
            text-align: right;
            width: 130px;
        }

    }
}







html {
    height: 100%;
    width: 100%;
    background: url("../img/bg.png") no-repeat center;
    background-color: #051443;
    overflow: hidden;
    background-size: cover;
}

body {
    width: 1920px;
    height: 1080px;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 16px;
    color: #fff;
    transform: translate(-50%, -50%);

}



.main {
    padding: 7px 20px 20px 20px;
    height: 980px;
}